<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Welcome-test</title>
    <script src="jquery-easyui-1.9.10/jquery.min.js"></script>
    <script src="jquery-easyui-1.9.10/jquery.easyui.min.js"></script>
    <link rel="stylesheet" href="jquery-easyui-1.9.10/themes/default/easyui.css">
    <link rel="stylesheet" href="jquery-easyui-1.9.10/themes/icon.css">
    <script src="jquery-easyui-1.9.10/locale/easyui-lang-zh_CN.js"></script>
    <script>
        $(function () {

        });
    </script>
</head>
<body>
<script type="text/javascript">
    function doSearch(value, name) {
        alert(value + ":" + name)
    }
</script>

<!--普通是输入框-->
<input id="ss" class="easyui-searchbox" style="width:300px"
       data-options="searcher:doSearch,prompt:'Please Input Value',menu:'#mm'"></input>

<div id="mm" style="width:120px">
    <div data-options="name:'all',iconCls:'icon-ok'">input1</div>
    <div data-options="name:'sports'">input2</div>
</div>
</body>
</html>